package br.com.hs.biosys.business;

import br.com.hs.biosys.business.generics.GenericReadWriteBC;
import br.com.hs.biosys.model.domain.User;

/**
 * UserBC.class
 *
 * @author Ranlive Hrysyk
 * @since 19/07/2012
 */
public interface UserBC extends GenericReadWriteBC<User, Long> {

    /**
     * Valida a senha digitada com a do usuário.
     *
     * @param user the user
     * @param password the password
     * @return if is valid return true else false
     */
    boolean validateUserPassword(final User user, final String password);
}
